
package com.hc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hc.dao.IAdminDao;
import com.hc.domain.Admin;
import com.hc.service.IAdminService;
@Service("adminService")
public class AdminServiceImpl implements IAdminService{
	@Resource
	private IAdminDao adminDao;

	@Override
	public Admin getByAccount(String account) {
		return adminDao.getByAccount(account);
		
	}

	@Override
	public void saveOrUpdate(Admin admin) {
		adminDao.saveOrUpdateData(admin);
	}
}

